package org.dtrevien.metamodel.graphviz.edgerhs;

import org.dtrevien.metamodel.graphviz.Op;
import org.dtrevien.metamodel.graphviz.stmt.impl.Subgraph;

public class EdgeRHSSubgraph extends EdgeRHS {

	protected Subgraph subgraph; //Can be null

	public EdgeRHSSubgraph(Op edgeOp, Subgraph subgraph) {
		super(edgeOp);
		this.subgraph = subgraph;
	}
	
	public EdgeRHSSubgraph(Op edgeOp) {
		super(edgeOp);
	}

	public Subgraph getSubgraph() {
		return this.subgraph;
	}

	public void setSubgraph(Subgraph subgraph) {
		this.subgraph = subgraph;
	}
	
}
